package com.choosefine.it.common.enums;


/**
 * Comments：交易类型
 * Author：Jay Chang
 * Create Date：2017/3/8
 * Modified By：
 * Modified Date：
 * Why & What is modified：
 * Version：v1.0
 */
public enum TradeType  {
   TRANSFER_IN(0,"转账收入"),TRANSFER_OUT(1,"转账支出"),WITHDRAW(2,"提现"),
    RECHARGE(3,"充值"),PAY_AGENT_IN(4,"代付收入"),PAY_AGENT_OUT(5,"代付支出"),
    SALARY_IN(6,"工资收入"),SALARY_OUT(7,"工资支出"),SUBPACKAGE_IN(10,"分包款收入"),SUBPACKAGE_OUT(11,"分包款支出"),
    REFUND_IN(12,"退款收入"),REFUND_OUT(13,"退款支出");
    private int value;
    private String name;

    TradeType(int value, String name) {
        this.value = value;
        this.name = name;
    }

    public int getValue() {
        return this.value;
    }

    public String getName() {
        return this.name;
    }
    }
